/*
 * util.h
 *
 *  Created on: 26/12/2012
 *      Author: Dalton
 */

#ifndef UTIL_H_
#define UTIL_H_
#include <string>
using namespace std;

enum GAME_STATE { SERVIDOR, CLIENTE};

enum GameActionId{
		SEND_DATA,
		SEND_MSG,
		RIGHT_LETTER,
		WRONG_LETTER,
		WIN,
		LOSE,
		NONE
};

struct GAME_MSG{
	GameActionId action;
	char word[15];
	char tip[30];
	char msg[50];
};

#endif /* UTIL_H_ */
